/* src/assets/styles/theme.css */

/* 默认明亮主题 */
body {
    background: #fff;
    color: #333;
}

/* 暗黑主题 */
body.dark-theme {
    background: #333;
    color: #fff;
}

/* 覆盖 Element-Plus 组件的样式 */
body.dark-theme .el-header,
body.dark-theme .el-aside,
body.dark-theme .el-main,
body.dark-theme .el-footer {
    background: #333;
    color: #fff;
}

body.dark-theme .el-menu {
    background: #333;
}

body.dark-theme .el-menu-item,
body.dark-theme .el-sub-menu__title {
    color: #fff;
}

body.dark-theme .el-menu-item.is-active {
    color: var(--el-color-primary);
    /* 保持活跃项的主题色 */
}

